import Vue from 'vue'
import App from './App.vue'
import './registerServiceWorker'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
// 挂载全局的请求方法
import {get,post,put,del} from "@/utils/api"
import {baseUrl} from "@/utils/reqeust"
Vue.config.productionTip = false
Vue.use(ElementUI);
Vue.prototype.$get = get
Vue.prototype.$post = post
Vue.prototype.$put = put
Vue.prototype.$del = del
// 接口的基础路径
Vue.prototype.$baseUrl = baseUrl
//  引入Echarts
import * as echarts from 'echarts'
Vue.prototype.$echarts = echarts
import scroll from 'vue-seamless-scroll'
Vue.use(scroll)
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
